
// BTSDADoc.h : interface of the CBTSDADoc class
//
#include "NwGridDataAccess.h"
#include "NwDataCache.h"
using namespace NS_NW_DAL;
#pragma once


class CBTSDADoc : public CDocument
{
protected: // create from serialization only
	CBTSDADoc();
	DECLARE_DYNCREATE(CBTSDADoc)

// Attributes
public:

// Operations
public:

// Overrides
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// Implementation
public:
	virtual ~CBTSDADoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);

	CNdaXAdapter *m_pDataAdapter;
	CNwGridDataAccess *m_pNwGridDataAccess;
	CNwDataCache *m_pDataCache;
};


